package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.bean.Training;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * IntelliJ IDEA -> person
 * 2019/11/21 11:33
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
public interface TrainingService {
    PageInfo<Training> findall(int  pageIndex , int pageSize,String trainingname, String  auditopinion, String trainingdateStart,String  trainingdateEnd );
    List<String>  findOption();
    int insert(Training training);
   List<String> findTrainingFeedback();
   Training selectByPrimaryKey(int id);
   int updatefeedback(String trainingfeedback,String trainingsummary,String trainingresult,int id);
   int   updateByPrimaryKeySelective(Training training);
    int updateByIdSetState(int id ,int state);

}
